package com.forum.util;

public class RegUtil {
    public static void add(String openid,String headimgurl,String nickName)
    {
    		//获取用户的信息
        	String url=headimgurl;
    		String email=openid+"@qq.com";
    		String username=nickName;
        	String passwd="123456";	
            new RedisClient().show(username,email,passwd,url); 
    }
    public static void main(String[] args)
    {
    	String openId="ohRGkxLweiUcY9KZneONihLP_6GE";
    	String headimgurl="http://wx.qlogo.cn/mmopen/YIIf2XeguAljPUliaE9VJoKJNQWgGIJSvTniajpU7yCBPmp2kNvm8aVwAiakefEqCw4bxCACggNicXBROguEmh4h6UhlHzV8XRUN/0";
    	String nickName="乌云";
    	add(openId,headimgurl,nickName);
    }
}
